package com.faintlight.service;

import com.faintlight.dto.CapsuleDTO;
import com.faintlight.model.Capsule;

import java.util.List;

public interface CapsuleService {
    Capsule createCapsule(Capsule capsule);
    Capsule unlockCapsule(Long capsuleId);
    List<CapsuleDTO> getUserCapsules(Long userId);
    List<CapsuleDTO> getUserCapsulesAllStatus(Long userId); // 新增
    void processUnlockTasks();
    Capsule getCapsuleById(Long id);
    Long getUserCapsuleCount(Long userId);
}
